package a66weding.com.jiehuntong.dao.db.address;

import android.content.Context;
import android.database.sqlite.SQLiteDatabase;
import android.database.sqlite.SQLiteOpenHelper;

/**
 * @version :
 * @creator : AxDu
 * @create-time : 2016/8/9
 * @description :
 */
public class AddressOpenHelper extends SQLiteOpenHelper {

    public AddressOpenHelper(Context context){
        super(context, "address.db", null, 1);
    }

    @Override
    public void onCreate(SQLiteDatabase db) {
        db.execSQL("create table address ( id integer primary key autoincrement,i_ID integer,provinceName varchar(40),provinceID integer,is_PianYuan integer,b_OpenBusinessArea integer,cityID integer,cityi_ID  integer,cityName varchar(40),nvc_FirstLetter varchar(10),areaID integer,areai_ID  integer,areaName varchar(40))");


    }

    @Override
    public void onUpgrade(SQLiteDatabase db, int oldVersion, int newVersion) {

    }

}
